package com.px.train;

public class CableModem  extends Modem{
    String method="cable connectioc";
    public void connect(){
        System.out.println("Connecting to the internet...");
        System.out.println("Using"+method);
    }
}
